<?php
echo "<h1>Bang luong cua nhan vien</h1>";
?>
<table>
    <tr>
        <th>MANV</th>
        <th>SOCA</th>
        <th>TIENLUONG</th>
    </tr>
    <?php foreach($kqs as $kq):?>
        <tr>
            <td><?php echo $kq['a']['MANV'];?></td>
            <td><?php echo $kq['0']['SOCA']; ?></td>
            <td><?php echo $kq['0']['TIENLUONG']?></td>
        </tr>
    <?php endforeach; ?>
</table>